package com.svse.designPattern.structure.facade.facade;

import com.svse.designPattern.structure.facade.subsystem.SubSystem01;
import com.svse.designPattern.structure.facade.subsystem.SubSystem02;
import com.svse.designPattern.structure.facade.subsystem.SubSystem03;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/2 9:08
 */
public class Facade {
    private SubSystem01 subSystem01 =new SubSystem01();
    private SubSystem02 subSystem02 =new SubSystem02();
    private SubSystem03 subSystem03 =new SubSystem03();

    public void method(){
        subSystem01.method1();
        subSystem02.method2();
        subSystem03.method3();
    }
}
